import java.util.Scanner;

public class XiaoMing {
	
	public static void main(String []arge)
	{ 
		Scanner stdin = new Scanner(System.in); 
		int a = stdin.nextInt();
		int b = stdin.nextInt();
	    int c;
		if(a>=100){
			a=a%100;}
	
		if(b>=100){
			b=b%100;}

		if(a+b>=100){
			c=a+b-100;}
		else{
			c=a+b;}
	    System.out.println(c);	
	}
}
